<textarea rows="22" cols="138">
</textarea>
<?php
//date:undefined/now/soon(timezone)
$addresses=array();
$email='wraeness@gmail.com';


echo '<textarea rows=13 cols=80>'.str_replace(array('\r','\r\n','\n'),'\n\\',file_get_contents('https://services.duy.net/zroom-free.asp')).substr(0,5).'</textarea>';
//echo'<pre>',htmlentities($rev),'</pre>';

$s='
1)University/Company name
2)Lab/Team name
3)URL of main site lab/team
4)Contact person name
5)Contact person e-mail
6)Research focus description
7)BN@work members of the lab/team names (optional)
8)Varia (optional)
';

foreach(explode(')',$s) as $l){
  echo"<input value='$l'>";
}

?>



<script type="text/javascript">//<![CDATA[
<?php
//echo str_replace(array('\r','\r\n','\n'),'\n\\',file_get_contents('https://services.duy.net/zroom-free.asp')).substr(0,5);
?>
//alert(test);


function ae(frm){
  var rab=frm.innerHTML.split('</tr>');
  var els=new Array(); els=frm.getElementsByTagName("*");;
  var c=els.length; var s=new Array(); var el; var i;
  for(i=0;i<c;++i){
    el=els[i];
    if(el.type=='text'){
      s[i]='<input type="text" name="'+el.name+'" value="'+el.value+'"/>'; s[i]='T';
	}
	else if(el.type=='checkbox'){
      s[i]='<input type="checkbox" name="'+el.name+'" value="'+el.checked+'">';	s[i]='C';
	}
	else if(el.type=='textarea'){
	  s[i]='<textarea name="'+el.name+'">'+el.innerHTML+'[/textarea]'; s[i]='A';
	}
	else if(el.type=='select-one'){
	  var opts=el.options;
	  s[i]=opts;
	  var oc=opts.length; var oa=new Array(); var oi;
	  for(oi=0;oi<oc;++oi){
		var o=opts[oi];
		oa[oi]='<option value="'+o.value+'"'+((o.selected)?' selected="selected"':'')+'>'+o.innerHTML+'</option>';
	  }
      s[i]='<select name="'+el.name+'">'+oa.join('')+'</select>'; s[i]='S';
	  }
	else{ s[i]='?'+(el.type=='undefined')?'':'??????????????????????'+el.innerHTML; }
  }
  s[i+1]='</form>';
  frm='<form name="'+frm.name+'" method="'+frm.method+'" action="'+frm.action+'">';
  document.getElementById('ae').innerHTML='<textarea id="ed" rows=25 cols=155 onmouseover="this.select()">'+frm+s.join('')+'</textarea>';
  document.getElementById('ed').select();
}


function ajaxjs(cmd){
  if (window.XMLHttpRequest){ var x=new XMLHttpRequest(); }
  else{ var x=new ActiveXObject("Microsoft.XMLHTTP"); }
  x.onreadystatechange=function(){ if(x.readyState==4 && x.status==200){ eval(x.responseText); }}
  x.open("GET",cmd,true); x.send(); }

/*var allHTMLTags=new Array();
allHTMLTags=document.getElementsByTagName("*");*/

</script>